package com.bifrii.dao;

import java.util.List;

import com.bifrii.transferObjects.CategoryCommunity;
import com.bifrii.transferObjects.Community;
import com.bifrii.transferObjects.Event;
import com.bifrii.transferObjects.User;


public interface ICommunityDAO {
	 void insert(Integer idCommunity, Community c);
	 void delete(Integer idCommunity);
	 List<Community> selectAllCommunities();
	 List<Community> selectAllCommunitiesForUser(Integer idUser);
	 List<User> selectAllUsers(Integer idCommunity);
	 Community select(Integer idCommunity);
	 void insertUser(String oid, Integer idCommunity, Integer idUser, Integer idRole); 
	 List<CategoryCommunity> selectCategories(Integer idCommunity);
	 List<Community> selectTopCommunities(Integer top);
	 public List<Event> selectEvents(Integer idCommunity);
	 
}
